package com.kedacom.freedomLabel.label;

import android.support.annotation.NonNull;

import com.kedacom.freedomLabel.label.builder.LabelParams;
import com.kedacom.freedomLabel.label.column.BarCodeLabelColumn;
import com.kedacom.freedomLabel.label.column.BitmapLabelColumn;
import com.kedacom.freedomLabel.label.column.QRCodeLabelColumn;
import com.kedacom.freedomLabel.label.column.TextLabelColumn;

/**
 * @author licheng
 * @since 2019/11/29 13:03
 */
public class ZebraLabel<T> extends Label<T> {

    private T data;
    private int count;

    @Override
    public void bind(@NonNull LabelParams<T> params) {
        super.bind(params);
        this.count = params.count;
        this.data = params.data;
    }

    @Override
    public void before() {

    }

    @Override
    public void addText(@NonNull TextLabelColumn column, int xScale, int yScale) {

    }

    @Override
    public void addQRCode(@NonNull QRCodeLabelColumn column) {

    }

    @Override
    public void addBarCode(@NonNull BarCodeLabelColumn column) {

    }

    @Override
    public void addBitmap(@NonNull BitmapLabelColumn column) {

    }

    @Override
    public void after() {

    }

    @Override
    public byte[] encodeCommand() {
        after();

        return new byte[0];
    }

    public T getData() {
        return data;
    }
}